CKEditor 5 development utilities library
Utils for CKEditor 5 development tools packages.
More information about development tools packages can be found at the following URL: https://github.com/ckeditor/ckeditor5-dev.
Available modules
Note: Not all modules exported by this package are covered in this documentation.
Logger
Logger functions with configurable verbosity.
There are three levels of verbosity:
info
- all messages will be logged,warning
- warning and errors will be logged,error
- only errors will be logged.
Usage:
const logger = require( '@ckeditor/ckeditor5-dev-utils' ).logger;
const infoLog = logger( 'info' );
infoLog.info( 'Message.' );
infoLog.warning( 'Message.' );
infoLog.error( 'Message.' );
const warningLog = logger( 'warning' );
warningLog.info( 'Message.' );
warningLog.warning( 'Message.' );
warningLog.error( 'Message.' );
const errorLog = logger( 'error' );
errorLog.info( 'Message.' );
errorLog.warning( 'Message.' );
errorLog.error( 'Message.' );
Changelog
See the CHANGELOG.md
file.
License
Licensed under the terms of GNU General Public License Version 2 or later. For full details about the license, please check the LICENSE.md
file.